package com.wuhan.template.module.home.entity;

import java.util.List;

/**
 * Created by Administrator on 2016/5/12 0012.
 */
public class DianShiEntity {


    /**
     * id : 4
     * name : 新闻综合频道
     * logo : {"rectangle":{"host":"http://img.appwuhan.com/","dir":"material/live/img/","filepath":"2015/10/","filename":"201510310920276Vjn.png"},"square":{"host":"http://img.appwuhan.com/","dir":"material/live/img/","filepath":"2015/10/","filename":"201510310920276Vjn.png"}}
     * snap : {"host":"http://img.appwuhan.com/livesnap/img/","dir":"","filepath":"2016/05/","filename":"live_4.png?time=1463018821"}
     * m3u8 : http://live.appwuhan.com/1tzb/playlist.m3u8?_upt=b104c2d01463033221
     * cur_program : {"start_time":"09:02","program":"白金剧场：枪神"}
     * save_time : 168
     * next_program : {"start_time":"10:57","program":"第一冲击波"}
     * audio_only : 0
     * aspect :
     * cmid : null
     * channel_stream : [{"url":"http://live.appwuhan.com/1tzb/playlist.m3u8?_upt=b104c2d01463033221","m3u8":"http://live.appwuhan.com/1tzb/playlist.m3u8?_upt=b104c2d01463033221","bitrate":"500","live_url":"http://live.appwuhan.com/1tzb/playlist.m3u8?_upt=b104c2d01463033221","live_m3u8":"http://live.appwuhan.com/1tzb/playlist.m3u8?_upt=b104c2d01463033221"}]
     * record_stream : [{"url":"http://live.appwuhan.com/1tzb/playlist.m3u8?_upt=b104c2d01463033221","m3u8":"http://live.appwuhan.com/1tzb/playlist.m3u8?_upt=b104c2d01463033221"}]
     */

    private String id;
    private String name;
    /**
     * rectangle : {"host":"http://img.appwuhan.com/","dir":"material/live/img/","filepath":"2015/10/","filename":"201510310920276Vjn.png"}
     * square : {"host":"http://img.appwuhan.com/","dir":"material/live/img/","filepath":"2015/10/","filename":"201510310920276Vjn.png"}
     */

    private LogoBean logo;
    /**
     * host : http://img.appwuhan.com/livesnap/img/
     * dir :
     * filepath : 2016/05/
     * filename : live_4.png?time=1463018821
     */

    private SnapBean snap;
    private String m3u8;
    /**
     * start_time : 09:02
     * program : 白金剧场：枪神
     */

    private CurProgramBean cur_program;
    private String save_time;
    /**
     * start_time : 10:57
     * program : 第一冲击波
     */

    private NextProgramBean next_program;
    private String audio_only;
    private String aspect;
    private Object cmid;
    /**
     * url : http://live.appwuhan.com/1tzb/playlist.m3u8?_upt=b104c2d01463033221
     * m3u8 : http://live.appwuhan.com/1tzb/playlist.m3u8?_upt=b104c2d01463033221
     * bitrate : 500
     * live_url : http://live.appwuhan.com/1tzb/playlist.m3u8?_upt=b104c2d01463033221
     * live_m3u8 : http://live.appwuhan.com/1tzb/playlist.m3u8?_upt=b104c2d01463033221
     */

    private List<ChannelStreamBean> channel_stream;
    /**
     * url : http://live.appwuhan.com/1tzb/playlist.m3u8?_upt=b104c2d01463033221
     * m3u8 : http://live.appwuhan.com/1tzb/playlist.m3u8?_upt=b104c2d01463033221
     */

    private List<RecordStreamBean> record_stream;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LogoBean getLogo() {
        return logo;
    }

    public void setLogo(LogoBean logo) {
        this.logo = logo;
    }

    public SnapBean getSnap() {
        return snap;
    }

    public void setSnap(SnapBean snap) {
        this.snap = snap;
    }

    public String getM3u8() {
        return m3u8;
    }

    public void setM3u8(String m3u8) {
        this.m3u8 = m3u8;
    }

    public CurProgramBean getCur_program() {
        return cur_program;
    }

    public void setCur_program(CurProgramBean cur_program) {
        this.cur_program = cur_program;
    }

    public String getSave_time() {
        return save_time;
    }

    public void setSave_time(String save_time) {
        this.save_time = save_time;
    }

    public NextProgramBean getNext_program() {
        return next_program;
    }

    public void setNext_program(NextProgramBean next_program) {
        this.next_program = next_program;
    }

    public String getAudio_only() {
        return audio_only;
    }

    public void setAudio_only(String audio_only) {
        this.audio_only = audio_only;
    }

    public String getAspect() {
        return aspect;
    }

    public void setAspect(String aspect) {
        this.aspect = aspect;
    }

    public Object getCmid() {
        return cmid;
    }

    public void setCmid(Object cmid) {
        this.cmid = cmid;
    }

    public List<ChannelStreamBean> getChannel_stream() {
        return channel_stream;
    }

    public void setChannel_stream(List<ChannelStreamBean> channel_stream) {
        this.channel_stream = channel_stream;
    }

    public List<RecordStreamBean> getRecord_stream() {
        return record_stream;
    }

    public void setRecord_stream(List<RecordStreamBean> record_stream) {
        this.record_stream = record_stream;
    }

    public static class LogoBean {
        /**
         * host : http://img.appwuhan.com/
         * dir : material/live/img/
         * filepath : 2015/10/
         * filename : 201510310920276Vjn.png
         */

        private RectangleBean rectangle;
        /**
         * host : http://img.appwuhan.com/
         * dir : material/live/img/
         * filepath : 2015/10/
         * filename : 201510310920276Vjn.png
         */

        private SquareBean square;

        public RectangleBean getRectangle() {
            return rectangle;
        }

        public void setRectangle(RectangleBean rectangle) {
            this.rectangle = rectangle;
        }

        public SquareBean getSquare() {
            return square;
        }

        public void setSquare(SquareBean square) {
            this.square = square;
        }

        public static class RectangleBean {
            private String host;
            private String dir;
            private String filepath;
            private String filename;

            public String getHost() {
                return host;
            }

            public void setHost(String host) {
                this.host = host;
            }

            public String getDir() {
                return dir;
            }

            public void setDir(String dir) {
                this.dir = dir;
            }

            public String getFilepath() {
                return filepath;
            }

            public void setFilepath(String filepath) {
                this.filepath = filepath;
            }

            public String getFilename() {
                return filename;
            }

            public void setFilename(String filename) {
                this.filename = filename;
            }
        }

        public static class SquareBean {
            private String host;
            private String dir;
            private String filepath;
            private String filename;

            public String getHost() {
                return host;
            }

            public void setHost(String host) {
                this.host = host;
            }

            public String getDir() {
                return dir;
            }

            public void setDir(String dir) {
                this.dir = dir;
            }

            public String getFilepath() {
                return filepath;
            }

            public void setFilepath(String filepath) {
                this.filepath = filepath;
            }

            public String getFilename() {
                return filename;
            }

            public void setFilename(String filename) {
                this.filename = filename;
            }
        }
    }

    public static class SnapBean {
        private String host;
        private String dir;
        private String filepath;
        private String filename;

        public String getHost() {
            return host;
        }

        public void setHost(String host) {
            this.host = host;
        }

        public String getDir() {
            return dir;
        }

        public void setDir(String dir) {
            this.dir = dir;
        }

        public String getFilepath() {
            return filepath;
        }

        public void setFilepath(String filepath) {
            this.filepath = filepath;
        }

        public String getFilename() {
            return filename;
        }

        public void setFilename(String filename) {
            this.filename = filename;
        }
    }

    public static class CurProgramBean {
        private String start_time;
        private String program;

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public String getProgram() {
            return program;
        }

        public void setProgram(String program) {
            this.program = program;
        }
    }

    public static class NextProgramBean {
        private String start_time;
        private String program;

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public String getProgram() {
            return program;
        }

        public void setProgram(String program) {
            this.program = program;
        }
    }

    public static class ChannelStreamBean {
        private String url;
        private String m3u8;
        private String bitrate;
        private String live_url;
        private String live_m3u8;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getM3u8() {
            return m3u8;
        }

        public void setM3u8(String m3u8) {
            this.m3u8 = m3u8;
        }

        public String getBitrate() {
            return bitrate;
        }

        public void setBitrate(String bitrate) {
            this.bitrate = bitrate;
        }

        public String getLive_url() {
            return live_url;
        }

        public void setLive_url(String live_url) {
            this.live_url = live_url;
        }

        public String getLive_m3u8() {
            return live_m3u8;
        }

        public void setLive_m3u8(String live_m3u8) {
            this.live_m3u8 = live_m3u8;
        }
    }

    public static class RecordStreamBean {
        private String url;
        private String m3u8;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getM3u8() {
            return m3u8;
        }

        public void setM3u8(String m3u8) {
            this.m3u8 = m3u8;
        }
    }
}
